{{ template "header_start" . }}
{{ template "global" .}}
{{ template "bootstrap" .}}
{{ template "chat" .}}
{{ template "header_end" . }}

<script type="text/javascript">
	var name = "{{.D.Body.LoginInfo.RealName }}";
	var host = "{{ .D.Body.LoginInfo.Host }}";
</script>

<section class="container">
<a class="btn" href="/chat/login.html">返回重新登录</a>
{{ if .D.Body.Status }}
    <div class="text-error">{{ .D.Body.Status }}</div>
{{ else }}
	欢迎：<b>{{ .D.Body.LoginInfo.RealName }}</b>

	<section class="row">
		<section class="span8" id="textDisplay">
			<div class="jk-input-text content" name="content">
				<span class="tips">想说什么呢？ ...</span>
			</div>
			<button class="btn btn-primary" >发送</button>
		</section>
		<aside class="span2">
			有这些人在线:
			<section id="onlineUsers">
				
			</section>
		</aside>
	</section>
	
{{ end }}
</section>

{{ template "footer" }}